package com.btpn.custody.web.m007.decorator;

import org.displaytag.decorator.TableDecorator;

import com.btpn.custody.web.m002.model.BranchModel;

public class ReceivingDecorator extends TableDecorator {
	
	private BranchModel.Master2Model m2m;
	
	public String getCheckbox() {
		m2m = (BranchModel.Master2Model) getCurrentRowObject();
		
		//return "<input type=\"checkbox\" name=\"_chk\" id=\"checkboxid\" value=\""+systemUser.getUSERID().toString().trim()+"\"/>";
		return "<input type='checkbox' name='_chk' id='checkboxid' value='" + m2m.getSid() + "'/>";
	}

	public BranchModel.Master2Model getM2m() {
		return m2m;
	}

	public void setM2m(BranchModel.Master2Model m2m) {
		this.m2m = m2m;
	}
}
